<?php 
echo '<?xml version="1.0"?>'."\n";
echo "<login>";
if($this->islogged){
	
	echo '<user id ="' . $this->user_id . '">';
	
	
	
}else{
	
	echo '<error value ="1"/>';
	
	
	
	
}
echo '</login>';
?>